Automattic\WooCommerce\Internal\Features\FeaturesController C

Total Complexity 120
Dependencies 7
Dependents 6
Total lines 1,011
Lines of code 539
Logical lines of code 261
Comment lines 287
Methods 30
Properties 8

Methods 30

Method Rating Maintainability Complexity Lines of code
get_setting_for_feature()
B
37 16 70
filter_plugins_list()
A
49 14 27
handle_plugin_list_rows()
A
40 10 62
declare_compatibility()
A
49 9 27
maybe_display_current_feature_filter_description()
A
48 7 35
add_feature_settings()
A
44 6 50
process_updated_option()
S
56 7 18
handle_plugins_page_views_list()
S
52 5 23
maybe_display_feature_incompatibility_warning()
S
51 4 27
get_features()
S
57 4 18
verify_did_woocommerce_init()
S
61 4 11
get_compatible_features_for_plugin()
S
54 3 23
enqueue_script_to_fix_plugin_list_html()
S
60 2 21
__construct()
S
48 1 32
feature_enable_option_name()
S
66 3 8
display_notices_in_plugins_page()
S
67 3 9
change_feature_enable()
S
69 3 6
feature_is_enabled()
S
67 3 7
get_compatible_plugins_for_feature()
S
60 2 14
init_features()
S
63 2 11
add_features_section()
S
70 2 6
handle_plugin_deactivation()
S
64 2 9
allow_enabling_features_with_incompatible_plugins()
S
81 1 3
process_added_option()
S
79 1 3
is_legacy_feature()
S
79 1 3
feature_exists()
S
79 1 3
feature_is_enabled_by_default()
S
78 1 3
get_features_page_url()
S
80 1 3
init()
S
76 1 4
allow_activating_plugins_with_incompatible_features()
S
81 1 3